home *** CD-ROM | disk | FTP | other *** search
/ Aminet 2 / Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso / Aminet / dev / amos / ldosv25d.lha / ldos_demo / examples / ldos / mem-demo.AMOS / mem-demo.amosSourceCode
AMOS Source Code  |  1992-05-27  |  456b  |  9 lines

  1. ' AMOS only returns the AVAILABLE mem, not the largest block.
  2. ' So if you try to allocate all free mem (for a diskcopy for example)
  3. ' you'll get an error since there are no block large enough. 
  4. '
  5. ' Llargest Free(CHIP|FAST) returns the value you can allocate. 
  6. ' CHIP=0, FAST=1 
  7. Print "                   CHIP         FAST"
  8. Print "Total available: ";Chip Free;"      ";Fast Free
  9. Print "Largest block:   "; Extension_10_02F4(0);"      "; Extension_10_02F4(1)